package ssii.camino;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class Menu extends Activity {
    private Button bConsulta;
	private Button bGuiar;
	private Button bComercios;
	private Button bIncidencia;
	private Button bFin;
	private Button bPanico;

	/** Called when the activity is first created. */
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.menu);
        
        //boton Consulta
        bConsulta = (Button) findViewById(R.id.Consulta);
        bConsulta.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
            	Intent i = new Intent("android.intent.action.GPS");
                startActivity(i);
            }
        });
        
      //boton Guiar
        bGuiar = (Button) findViewById(R.id.Guiar);
        bGuiar.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
            	//para rellenar
            }
        });
        
      //boton Comercios
        bComercios = (Button) findViewById(R.id.Comercios);
        bComercios.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
            	//para rellenar
            }
        });
        
      //boton Incidencia
        bIncidencia = (Button) findViewById(R.id.Incidencia);
        bIncidencia.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
            	//para rellenar
            }
        });
        
      //boton Fin
        bFin = (Button) findViewById(R.id.Fin);
        bFin.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
            	//para rellenar
            }
        });
        
      //boton Panico
        bPanico = (Button) findViewById(R.id.Panico);
        bPanico.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
            	//para rellenar
            }
        });
    }
}